package com.example.iitematicviewer.mapper;

import com.example.iitematicviewer.vo.CustomVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface CustomDao {

    /**
     * 根据编码查询自定义档案
     * @param code
     * @return
     */
    public CustomVO selectOneByCode(@Param("code")String code);

    /**
     * 修改自定义档案数据
     * @param customVO
     */
    public void update(CustomVO customVO);
}
